You must enable First Hop Security globally for RA Guard or DHCPv6 Guard to be operational.
Enabling FHS globally installs the required filters for FHS. Disabling FHS, uninstalls these filters. By default, FHS is disabled.
enable
configure terminal
ipv6 fhs enable
no ipv6 fhs enable
OR
default ipv6 fhs enable